﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EHTLogin.aspx.cs" Inherits="EHTWebsiteProject.Account.EHTLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">        
        .loginEHT
        {
                margin: 100px auto 100px;
                width: 500px;
                height:400px;                                
               
            }
            .Login
            {
                -moz-border-radius: 10px;
                -webkit-border-radius: 10px;  
                padding:10px 10px 10px 10px;             
                border:1px solid #ccc;
                border-radius:5px;                               
                behavior: url(../PIE.htc);  
                height:auto;
                }
                
            .Login1
            {
                -moz-border-radius: 10px;
                -webkit-border-radius: 10px;                           
                border:1px solid #ccc;
                border-radius:5px;                               
                behavior: url(../PIE.htc);  
                height:auto;
                }
            .btnLogin
            {
                 -moz-border-radius: 10px;
                -webkit-border-radius: 10px;                           
                border:1px solid #ccc;
                border-radius:5px;                               
                behavior: url(../PIE.htc);  
                height:auto;
                }
             .btnLogin:hover
            {
                cursor:pointer;
                }
            .font
            {
                font-family:Arial;
                font-size:11px;
                color:#666;               
                }
                .td
                {
                    width:90px;
                    text-align:right;
                    padding-right:10px;
                    }
                .textbox
                {
                    width:140px;
                    -moz-border-radius: 5px;
                    -webkit-border-radius: 5px;
                    border:1px solid #ccc;
                    border-radius:5px;                               
                    behavior: url(../PIE.htc); 
                    font-size:11px; font-family:Arial;   
                    }
                .Erorr
                {                    
                    background-color:#E6c0c0;
                    border-top:2px solid #DA7a7b;
                    border-bottom:2px solid #DA7a7b;
                    }
                .p
                {
                    font-family:Arial;
                    font-size:22px;
                    font-weight:bold;
                    color:#0b55c4;
                   
                    }
                .a
                {
                    font-family:Arial;
                    font-size:11px;                   
                    text-decoration:none;
                    color:#0b55c4;                   
                    }
                  .a:hover
                {                    
                    text-decoration:underline;
                    }
    </style>
</head>
<body style="background-color:#eee">
    <form id="form1" runat="server">
    <div class="loginEHT">
        <div class="Login">
            <table style="width:480px">
                <tr>
                    <td style="width:180px">
                        <p class="p">
                            <asp:Label ID="lbLogin" runat="server" Text="Đăng nhập"></asp:Label>
                        </p>
                    </td>
                    <td>
                        
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Literal ID="ltrErorr" runat="server"></asp:Literal>                        
                    </td>                    
                </tr>
                <tr>
                    <td  valign="top">
                    <span class="font"> 
                        <asp:Label ID="lbThongbao" runat="server" ></asp:Label>  </span>  <br />                     
                    <div style="padding-top:7px">
                        <a href="#" class="a">
                        <asp:Label ID="lbHome" runat="server" Text="Trở về trang chủ"></asp:Label> 
                    </a>   
                    </div>                     
                    <div style="padding-top:7px">
                         <img alt="" src="../images/EHTgiaodien/j_login_lock.png" />
                    </div> 
                    </td>
                    <td style="padding:0px 10px 15px 10px" valign="top">
                        <div class="Login1">
                            <table style="width:280px">
                                <tr>
                                    <td  class="td">
                                        <h2 class="font">
                                            <asp:Label ID="lbUser" runat="server" Text="Label"></asp:Label>
                                        </h2>
                                    </td>
                                    <td>
                                         <asp:TextBox ID="txtUser" runat="server" CssClass="textbox"></asp:TextBox>
                                         <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="txtUser"
                                        CssClass="failureNotification" ErrorMessage="Tên đăng nhập không được để trống." ToolTip="Tên đăng nhập không được để trống."
                                        ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                 <tr>
                                    <td class="td">
                                        <h2 class="font">
                                            <asp:Label ID="lbPass" runat="server" Text="Label"></asp:Label>
                                        </h2>
                                    </td>
                                    <td>
                                         <asp:TextBox ID="txtPass" runat="server" CssClass="textbox" TextMode="Password" ></asp:TextBox>
                                         <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="txtPass"
                                        CssClass="failureNotification" ErrorMessage="Mật khẩu không được để trống." ToolTip="Mật khẩu không được để trống."
                                        ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                 <tr>
                                    <td class="td">
                                        <h2 class="font">
                                            <asp:Label ID="lbNgonNgu" runat="server" Text="Label"></asp:Label>
                                        </h2>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlNgonngu" runat="server" CssClass="textbox" AutoPostBack="true" 
                                            onselectedindexchanged="ddlNgonngu_SelectedIndexChanged">
                                            <asp:ListItem Text="Viet Nam" Value="vi-VN"></asp:ListItem>
                                            <asp:ListItem Text="English" Value="en-us"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                 <tr>
                                    <td class="td">
                                        <h2 class="font">
                                            
                                        </h2>
                                    </td>
                                    <td align="right" style="padding:10px 35px 10px 0px">
                                        
                                        <asp:Button ID="btnLogin" runat="server" Text="Đăng nhập" CssClass="btnLogin"  ValidationGroup="LoginUserValidationGroup" 
                                            onclick="btnLogin_Click" />
                                        
                                     </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
